public class Main {
    public static void main(String[] args) {
        String outBase = "C:\\workspaces\\ideaws\\LittleUtils\\files\\";
        StringBuilder url = new StringBuilder("https://cdn.readmanhwa.com/nhentai/storage/images/1488/");
        for(int i = 1; i <= 57; i++){
            url.append(i).append(".jpg");
            GetFileFromUrl.get(outBase, url.toString(), i + ".jpg");
            url.delete(url.lastIndexOf("/") + 1, url.length());
            System.out.println("File " + i + " has been downloaded successfully.");
        }
    }
}